<template>
  <div class="index">
    <base-info :base-info="baseInfo"></base-info>
    <tabbar></tabbar>
  </div>
</template>

<script>
// import {getProfileData} from "@/network/profile";
import Tabbar from "@/components/tabbar/tabbar";
import BaseInfo from "./components/baseInfo";
import {profile} from "@/data/profile";

export default {
  name: "index",
  components: {BaseInfo, Tabbar},
  data(){
    return{
      baseInfo:profile
    }
  },
  // created() {
  //   getProfileData().then(res => {
  //     this.baseInfo=res.data
  //     // console.log(res.data)
  //   })
  // }
}
</script>

<style scoped>
.index {
  background-color: #F2F2F2;
  width: 100vw;
  min-height: 100vh;
}
</style>